package com.woniuxy.dao;

import com.woniuxy.pojo.Teacher;

import java.util.List;

public interface TeacherMapper {
    //通过教员编号查找教员对象
    public Teacher selectTeacherByTid(int tid);
    //通过学生的id，查找所教授课程的老师的集合
    public List<Teacher> selectTeachersBySid(int sid);
}
